using System;
using System.Collections.Generic;
using System.Text;

namespace Continue
{
    class Program
    {
        static void Main(string[] args)
        {
            for (int x = 1; x < 10; x++)
            {
                if (x == 3 || x == 8)
                {
                    continue;
                }
                Console.Write(x);
            }
        }
    }
}